﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace RunningJournalAPI
{
    public class BootStrap
    {
        public void Configure(HttpConfiguration config) 
        {
            config.Routes.MapHttpRoute(name: "API Default", routeTemplate: "{controller}/{id}", defaults: new { controller = "Journal", id = RouteParameter.Optional });
        }
    }
}
